var centerService = require('../service/centerService')

module.exports = {
    async upload(req, res) {
        var result = await centerService.upload(req.params.roleType, req.params.id, req.file, req.body)
        res.send(result)
    }
}